/***** button样式 begin *****/
.btn {
  > i {
    line-height: unset;
  }
}

.commonButton {
  font-size: 13px;
  height: 30px;
  border-radius: 4px;
  line-height: 10px;
  padding: 8px 10px !important;
  min-width: 60px;
}

.commonSButton {
  font-size: 18px;
  height: 30px;
  border-radius: 4px;
  line-height: 10px;
  font-weight: bold;
  text-align: center;
  padding: 4px !important;
  min-width: 30px;
}

.commonLButton {
  height: 40px;
}

.importButton {
  font-size: 13px;
  height: 30px;
  border-radius: 4px;
  line-height: 10px;
  padding: 10px 10px !important;
}

.innerButton {
  font-size: 12px;
  height: 25px;
  border-radius: 2px;
  line-height: 10px;
  padding: 6px !important;
  min-width: 40px;
}

.deleteButton {
  font-size: 13px;
  height: 30px;
  border-radius: 4px;
  line-height: 10px;
  padding: 10px 10px !important;
}

.common-disabled {
  cursor: not-allowed;
  background-image: none;
}

.common-disabled:hover {
  cursor: not-allowed;
  background-image: none;
}

.inner-disabled {
  cursor: not-allowed;
  background-image: none;
}

/***** button样式 end *****/

/*.commonTable .tableHeader th {
   padding: 5px 0;
   text-align: center;
 }*/

.commonTable {
  margin-top: 3px;
  td, th {
    padding: 4px 0;
    text-align: center;
  }
  td {
    font-size: 0.875rem;

    .cell {
      text-overflow: ellipsis;
      overflow: hidden;
      word-break: break-all;
      white-space: nowrap;
    }

    .el-checkbox__input {
      width: 10px;
    }
    .el-checkbox__inner {
      width: 16px;
      height: 16px;
    }
    .el-checkbox__inner::after {
      left: 4px;
      border: 2px solid #FFF;
      height: 8px;
      width: 4px;
      border-left: 0;
      border-top: 0;
      position: absolute;
      top: 1px;
    }

    .el-table__fixed-right-patch {
      position: absolute;
      top: 0px;
      right: 0;
    }
    .sort-caret {
      width: 0;
      height: 0;
      border: 5px solid transparent;
      position: absolute;
      right: 10px;
      left: inherit;
    }

    .cell .operate-group {
      /*padding: 2px;*/
      display: inline-block;
    }

    .cell .operate-group > div {
      display: inline-block;
    }

    .cell .operate-group .item {
      display: inline-block;
      margin: 2px;
    }
  }
  .tableHeader th {
    padding: 0px 0;
    text-align: center;
    .cell {
      text-overflow: ellipsis;
      overflow: hidden;
      word-break: break-all;
      white-space: nowrap;
      height: 35px;
      line-height: 35px;
      // text-align: center;
      text-align: left;
    }
    .el-checkbox__input {
      width: 15px;
    }
    .el-checkbox__inner {
      width: 16px;
      height: 16px;
    }
    .el-checkbox__inner::after {
      left: 4px;
      border: 2px solid #FFF;
      height: 8px;
      width: 4px;
      border-left: 0;
      border-top: 0;
      position: absolute;
      top: 1px;
    }
    .sort-caret {
      right: 7px;
      left: auto;
    }
  }
  .tableHeader th:last-child .cell{
    text-align: center;
  }
  .tableHeader .gutter{
    background: transparent;
  }
  tr.is-left {
    .cell {
      text-align: left;
    }
  }
  tr.is-right {
    .cell {
      text-align: right;
    }
  }
  .is-left {
    .cell {
      text-align: left;
    }
  }
  .el-table__row {
    .is-Left {
      .cell {
        text-align: left !important;
      }
    }
    is-right {
      .cell {
        text-align: right;
      }
    }
    is-center {
      .cell {
        text-align: center;
      }
    }
  }
}

.commonTable-break {
  td {
    .cell {
      white-space: break-spaces !important;
    }
  }
}

.commonTree {
  font-size: 13px;
  overflow: auto;
  height: 100%;
  padding:5px;
  .el-icon-caret-right:before {
    display: block;
    font-family: "iconfont" !important;
    content: "\e657" !important;
    font-size: 12px;
  }
  .el-tree-node__expand-icon.expanded.el-icon-caret-right:before {
    content: "\e658" !important;
    font-size: 12px;

  }
  .el-tree-node__expand-icon.el-icon-caret-right {
    visibility: visible;
  }
  .el-tree-node__expand-icon.expanded {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  .el-tree-node__expand-icon.is-leaf {
    cursor: default;
    content: "" !important;
  }
  .el-tree-node__content{
    //display: inline-block;
  }
  .el-tree-node{
    //display: inline-block;
    min-width: 100%;
  }
  .custom-tree-node{
    //display: block;
  }
}

.anjuanTree {
  .el-tree-node__expand-icon.el-icon-caret-right {
    //visibility: hidden;
  }
}

.commonTab {
  vertical-align: bottom;
  font-size: 0;
  .el-tabs--card {
    > .el-tabs__header {
      margin: 0;
      height: 40px;
      .el-tabs__nav {
        border: none;
        vertical-align: bottom;

        /*background:#fff;*/
      }
      .el-tabs__item {
        //padding:0 30px;
        height: 38.2px;
        line-height: 38px;
        margin-right: 5px;
        border-radius: 3px 3px 0 0;
        border-bottom: none;
        -webkit-transition: none;
        transition: none;
        -moz-transition: none;
        padding-left: 10px !important;
        padding-right: 10px !important;
      }

      .el-tabs__nav-wrap {
        margin-bottom: 0;
        // background: #fff;
      }
      el-tabs__item.is-top {
      }
    }
  }
  .subTab {
    background: #fff;
    .el-tabs--card {
      > .el-tabs__header {
        border-bottom: 0px;
        margin: 0 0 4px;
        .el-tabs__nav {
          border: none;
          height: 37px;
          /*background:#fff;*/
        }
        .el-tabs__item {
          //padding:0 30px;
          height: 33px;
          line-height: 32px;
          margin-right: 3px;
          border: 0px;
          -webkit-transition: none;
          transition: none;
          -moz-transition: none;
        }
        .el-tabs__item:first-child {
          //border-left: 1px solid #d8d8d8;
          border-left: 0px;
        }
        .el-tabs__item:hover, .el-tabs__item:focus, .el-tabs__item:visited, .el-tabs__item:active {
          //color: #444;
        }

        .el-tabs__nav-wrap {
          margin-bottom: 0;
        }
        el-tabs__item.is-top {
        }
      }
    }
  }
}

.el-input--small {
  .el-input__inner {
    height: 30px !important;
    line-height: 30px !important;
  }
}

.multipleView {
  .el-input--small {
    .el-input__inner {
      height: auto !important;
      line-height: 30px;
    }
  }
}

.el-input--mini {
  .el-input__inner {
    height: 25px !important;
    line-height: 25px !important;
  }
}

.commonInput {
  line-height: 40px;
  height: 40px;
  font-size: 13px;
  vertical-align: middle;
  .el-input__inner {
    padding-left: 8px !important;
    padding-right: 10px !important;
    line-height: 35px;
  }
  .el-icon-warning-outline:before {
    content: '';
  }
  .el-input__suffix {
    right: 0px;
  }
  .icon {
    width: 0px;
  }
}

.commonInput-textarea{
  line-height:normal;
  height: auto;
}

.commonInputError {
  .el-input__suffix {
    right: 5px;
  }

  .icon {
    position: absolute;
    top: 0px;
    right: -5px;
    width: 10px;
    border-bottom-left-radius: 10px;
    height: 10px;
    line-height: 10px;
  }
}

.commonInputErrorSmall {
  .el-input__suffix {
    //top: 4px;
  }
  .icon {
    top: 4.3px;
  }
}

.commonInputErrorMedium {
  .el-input__suffix {
    //top: 2px;
  }
  .icon {
    top: 2px;
  }
}

.commonInputErrorMini {
  .el-input__suffix {
    //top: 2px;
  }
  .icon {
    top: 8px;
  }
}

.searchInput input {
  height: 28px;
  line-height: 28px;
}

.commonSelect {
  .el-input__inner {
    padding-left: 10px !important;
    height: 30px;
    // background: #3A75C3 !important;
    // color: #FFFFFF !important;
    font-size: 13px;
  }
  .el-input__suffix {
    line-height: 1;
  }
  .el-input {
    > input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
      // color: #FFFFFF !important;
      font-size: 13px;
    }
    > input:-moz-placeholder, textarea:-moz-placeholder {
      font-size: 13px;
    }
    > input::-moz-placeholder, textarea::-moz-placeholder {
      font-size: 13px;
    }
    > input:-ms-input-placeholder, textarea:-ms-input-placeholder {
      font-size: 13px;
    }
  }
}

.commonSelectList {
  // margin-top: -5px !important;
  .popper__arrow {
    top: -6px;
    left: 50%;
    margin-right: 3px;
    border-top-width: 0;
    // display: none;
  }
  .el-select-dropdown__list {
    list-style: none;
    padding: 0px 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  .el-select-dropdown__item {
    font-size: 13px;
    padding: 0 10px;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 34px;
    line-height: 34px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
  }

  .selected {
    font-weight: 700;
  }
}

.commonDate {
  > input {
    height: 30px !important;
    line-height: 30px !important;
  }
}

.commonRangeDate {
  padding-right: 10px !important;
  background: #fff !important;
  max-width: 220px;
  .el-input__inner {
    padding-right: 10px !important;
  }
  .el-range__close-icon {
    width: 0px;
  }
  .el-range-separator {
    width: 12%;
  }
}

.common-fileUpload {
  .el-upload {
    position: relative;
    top: -1px;
    right: 0;
    width: 90px;
    height: 40px;
  }
  .el-upload-list {
    min-width: 300px;
    min-height: 40px;
    max-height: 200px;
    overflow-y: auto;
    position: relative;
    left: 0px;
    top: -3px;
    margin-top: 5px;
    .el-upload-list__item:first-child {
      margin-top: 3px;
    }
  }
}

.treeDropdown {
  height: 26px;
  line-height: 26px;
  width: 100%;
  border-radius: 4px;
  .el-dropdown-link {
    width: 100%;
    display: inline-block;
    position: relative;
    //overflow-x: hidden;
    //padding:0 10px 0 0;
    cursor: pointer;
    > p {
      width: 213px;
      white-space: nowrap;
      text-overflow: clip;
      overflow: hidden;
      padding-left: 10px;
    }
    .elIconRight {
      position: absolute;
      right: 5px;
      top: 8px;
    }
  }
  .el-dropdown-selfdefine {
    border: 0 !important;
  }

}

.dropdown-tree {
  width: 243px;
  margin-top: 0 !important;
  border-radius: 0;
  min-height: 200px;
  max-height: 500px;
  overflow-y: auto;

  .el-dropdown-menu__item {
    padding: 0;
  }
  .companytreeBox {
    padding: 5px;

    > li {
      max-height: 300px;
      overflow-y: auto;
    }
    .el-tree-node__expand-icon {
      display: block !important;
    }
  }
}

.common-drop-button {
  height: 30px;
  width: 100%;
  text-align: center;
  position: relative;
  padding-top: 10px;
  margin-bottom: 10px;
}

.popconfirm {

}

.el-popconfirm__action {
  margin-top: 5px;
}

.centerDiv {
  text-align: center;
  font-size: 0;
}

.buttonPanel {
  height: 40px;
  display: inline-block;
  padding: 5px;
  margin-left: 10px;
  font-size: 0px;
}

.buttonRightPanel {
  height: 40px;
  display: inline-block;
  padding: 5px;
  margin-left: 10px;
  font-size: 0px;
  float: right;
}

.el-button + .el-button {
  margin-left: 10px !important;
}
.BlockButtonView {
  margin-left:5px;
  .el-button {
    box-shadow: none;
  }
  .el-button + .el-button {
    margin-left: -2px !important;
    border-left: 0px;
    border-radius: 0 4px 4px 0px;
    box-shadow: none;
    //top: 1px;
  }
  .el-dropdown__caret-button::before {
    width: 0px !important;
  }
  /*.el-dropdown__caret-button > span {
    width: 16px;
    height: 16px;
    background: url();

  }*/
  .el-button-group > .el-button.is-active, .el-button-group > .el-button:active, .el-button-group > .el-button:focus, .el-button-group > .el-button:hover {
    z-index: 0;
  }
}
.BlockButtonMenuView{
  padding: 0px !important;
  //margin: 0px  !important;
  margin-top: 12px !important;
  .el-dropdown-menu__item {
    list-style: none;
    line-height: 30px;
    height: 30px;
    padding: 0 20px;
    font-size: 13px;
    cursor: pointer;
    outline: 0;
    /*box-shadow: 0px 3px 5px 0px #a8defd;*/
    /*box-shadow: 0px 3px 5px 0px #a8defd;*/
    border-radius: 0;
    margin: 0 !important;
    text-align: center;
  }
}
.detailIcon {
  width: 16px;
  height: 16px;
  background: url('')
}

.eyeIcon{
  width:16px;
  height:16px;
  background: url('');
}

.treeLeaf {
  width: 18px;
  height: 20px;
  display: inline-flex;
  margin-bottom: -2px;
  background: url('')
}

.treeFolderOpen {
  width: 21px;
  height: 17px;
  display: inline-flex;
  margin-bottom: -2px;
  //background: url('')
  background: url('')
}

.treeFolderClose {
  width: 20px;
  height: 17px;
  display: inline-flex;
  margin-bottom: -2px;
  //background: url('')
  background: url('');
}

.common-toolbar {
  font-weight: 500;
  font-size: 16px;
  height: 40px;
  line-height: 40px;
  position: relative;
  padding-right: 3px;
  margin-top:4px;
  // margin-left: 10px;
 /* .titleLine {
    display: inline-block;
    width: 6px;
    height: 20px;
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
    position: absolute;
    // left: 5px;
    top: 60%;
    margin-top: -12px;
  }*/
  .titleText {
    margin-left: 10px;
    // font-weight: bold;
    font-size: 18px;
    font-family: MicrosoftYaHei;
    line-height: 40px;
    height: 45px;
    display: inline-block;
    vertical-align: bottom;
    font-weight:bold;
  }

  .inner-toolbar {
    // position: relative;
    // padding: 0px 5px;
  }
}

.common-areatoolbar {
  font-size: 16px;
  height: 40px;
  line-height: 40px;
  position: relative;
  padding-right: 3px;
  border-bottom: 1px solid #D4D8DA;
  padding-left: 10px;
  border-radius: 3px 3px 0 0;
  border-top:2px solid #3A75C3;
  // margin-left: 10px;
  .titleLine {
    display: inline-block;
    width: 6px;
    height: 20px;
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
    position: absolute;
    // left: 5px;
    top: 50%;
    margin-top: -12px;
  }
  .titleText {
    margin-left: 20px;
    font-size: 16px;
    font-family: MicrosoftYaHei;
    display: inline-block;
  }

  .inner-toolbar {
    // position: relative;
    // padding: 0px 5px;
    padding-right:10px;
  }
}

.uploader-list {
  margin: 10px 0;
  padding: 0 10px;
  min-height: 100px;
  max-height: 400px;
  overflow-y: auto;
}

// 审批流程样式
.approvalProcessListView {
  line-height: 30px;
  padding: 0 10px;
  margin: 7px 0px 10px 0;
  border: 1px solid #ccc;
  min-height: 30px;
  background: rgba(254, 254, 254, 1);
  box-shadow: 0px 0px 4px 0px rgba(153, 153, 153, 1);
  border-radius: 4px;
  display: inline-block;
  width: 100%;
  //box-sizing: content-box;
  vertical-align: top;
  box-sizing: border-box;
}

.vue-treeselect{
  line-height: 20px !important;
  padding:0;
  margin:0;
}
.vue-treeselect__multi-value-item {
  border-radius: 2px;
}
.vue-treeselect--has-value .vue-treeselect__multi-value{
  margin-bottom:2px;
}
.vue-treeselect__option {
  height: 30px;
  line-height: 30px;
}

.commonVxeTable {
  .vxe-header--column {
    padding: 0px !important;
  }
  .vxe-body--expanded-cell{
    padding:5px;
    .expandRow {
      white-space: normal;
      text-align: left;
      text-indent: 2em;
      line-height: 30px;
    }
  }
  margin-top: 3px;
  td, th {
    padding: 4px 0;
    text-align: center;

  }
  .vxe-body--row{
    height: 35px;
  }
  td {
    font-size: 0.875rem;
    .vxe-cell {
      text-overflow: ellipsis;
      overflow: hidden;
      word-break: break-all;
      white-space: nowrap;
      max-height: 26px;
    }

  }
  .tableHeader th {
    padding: 0px 0;
    text-align: center;
    .vxe-cell {
      text-overflow: ellipsis;
      overflow: hidden;
      word-break: break-all;
      white-space: nowrap;
      height: 35px;
      line-height: 35px;
    }
    .vxe-cell--sort {
      position: absolute;
      float: right;
      right: 3px;
    }
  }
  .operate-group {
    display: inline-block;
    .item {
      display: inline-block;
      margin-right: 3px;
    }
  }
}

.commonVxeHeader {
  height: 35px;
}

.commonButtonInput {
  /*width:calc(100% - 40px);*/
  width: 100%;
  .el-input__inner {
    border-radius: 3px 0px 0px 3px;
  }
}

.commonInputButton {
  border-radius: 0px 3px 3px 0px;
  margin-top: 5px;
  min-width: 40px;
  display: inline-block;
  float: right;
  position: absolute;
}

.normalFont {
  color: #111111 !important;
  font-size: 14px;
}

.el-checkbox__input {
  width: 10px;
}

.el-checkbox__inner {
  width: 16px;
  height: 16px;
}

.el-checkbox__inner::after {
  left: 4px;
  border: 2px solid #FFF;
  height: 8px;
  width: 4px;
  border-left: 0;
  border-top: 0;
  position: absolute;
  top: 1px;
}

.commonDialog {
  .el-dialog__body {
    padding: 10px;
  }
}

.upArrowIcon {
  width: 28px !important;
  height: 28px !important;
  background: url('')
}

.downArrowIcon {
  width: 28px !important;
  height: 28px !important;
  background: url('')
}

.deleteIcon {
  width: 28px !important;
  height: 28px !important;
  background: url('')
}

.addMappingIcon {
  width: 28px !important;
  height: 28px !important;
  background: url('')
}

.defaultRow {
  height: 30px;
  padding: 5px;
}

.currentRow {
  background: #e6f7ff !important;
}

.unselect {
  moz-user-select: -moz-none;
  -moz-user-select: none;
  -o-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.vxe-table--context-menu-wrapper{
  z-index: 3000 !important;
}

.commonTreeSelect-popper{
  z-index: 200;
}
.pager{
  .el-pagination{
    .btn-prev{
      float: none;
    }
    .btn-next{
      float: none;
    }
  }
}


.col--gutter{
  background: transparent !important;
  border:0px;
}
.common-tooltip{
  text-overflow: ellipsis;
  overflow: hidden;
  word-break: normal;
  white-space: nowrap;
  > span{
    display:block;
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    white-space:nowrap;
  }
}
.common-tooltip-pop{
  position: fixed;
  background: #000;
  color:#fff;
  border-radius: 4px;
  border:1px solid #000;
  padding:5px 10px 2px 5px;
  z-index: 1000;
}

.common-tooltip-pop::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #000 transparent transparent transparent;
  z-index: 1000;
}
.tableButtonTool {
  text-align: right;
  margin-right: 20px;
  display: block;
}